<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <base href="__STATIC__/">
    <link href="css/Sellerber.css" type="text/css"  rel="stylesheet" />
    <link href="css/bkg_ui.css" type="text/css"  rel="stylesheet" />
    <script src="js/jquery-1.9.1.min.js" type="text/javascript" ></script>
    <script src="js/layer/layer.js" type="text/javascript"></script>
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js" type="text/javascript"></script>
    <script src="js/respond.min.js"></script>
    <script src="js/css3-mediaqueries.js"  type="text/javascript"></script>
    <![endif]-->
    <title>新品列表</title>
</head>
<body>
<div class="margin" id="page_style">
    <!--列表展示-->
    <div class="h_products_list clearfix" id="Sellerber">
        <div class="Sellerber_left menu" id="menuBar">
            <div class="show_btn" id="rightArrow"><span></span></div>
            <div class="side_title"><a title="隐藏" class="close_btn"><span></span></a></div>

        </div>
        <div class="list_Exhibition list_show padding15">
            <div class="operation clearfix mb15  searchs_style">
                <button class="btn button_btn btn-danger" type="button" onclick=""><i class="fa fa-trash-o"></i>&nbsp;删除</button>
                <div class="search  clearfix">
                    <label class="label_name">搜索：</label><input name="" type="text"  class="form-control col-xs-5"/><button class="btn button_btn bg-deep-blue " onclick=""  type="button"><i class="fa  fa-search"></i>&nbsp;搜索</button>
                </div>
            </div>
            <div class=" datalist_show">
                <div class="datatable_height confirm">
                    <table class="table table_list table_striped table-bordered" id="">
                        <thead>
                        <tr>
                            <th width="25"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></th>
                            <th width="100px">买家姓名</th>
                            <th  width="80px">买家地址</th>
                            <th width="80px">买家电话</th>
                            <th width="80px">商家名称</th>
                            <th width="150px">商品图片</th>
                            <th width="80px">商品名称</th>
                            <th width="80px">商品属性</th>
                            <th width="80px">商品单价</th>
                            <th width="80px">商品数量</th>
                            <th width="80px">商品总价</th>
                            <th width="80px">发货状态</th>
                            <th width="100px">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php foreach($order_data as $val){ ?>
                        <tr>
                            <td><label><input type="checkbox" class="ace"><span class="lbl"></span></label></td>
                            <td><?= $val['user_name']?></td>
                            <td><?= $val['u_address']?></td>
                            <td><?= $val['u_tel']?></td>
                            <td><?= $val['s_name']?></td>
                            <td><img src="<?= $val['g_image']?>" alt="" width="130" height="90"></td>
                            <td><?= $val['g_name']?></td>
                            <td><?= $val['attr_value_value']?></td>
                            <td><?= $val['g_price']?></td>
                            <td><?= $val['buy_num']?></td>
                            <td><?php echo $val['g_price']*$val['buy_num'] ?></td>
                            <td>
                                <?php if($val['o_state'] == 1){ ?>
                                待支付
                                <?php }else if($val['o_state'] == 2){?>
                                已支付
                                <?php }else if($val['o_state'] == 3){?>
                                代发货
                                <?php }else if($val['o_state'] == 4){?>
                                待收货
                                <?php }else if($val['o_state'] == 5){?>
                                确认收货
                                <?php }else if($val['o_state'] == 6){?>
                                退货审核
                                <?php }else if($val['o_state'] == 7) {?>
                                退货审核通过
                                <?php }else if($val['o_state'] == 8){?>
                                退货成功
                                <?php }?>
                            </td>
                            <td class="td-manage">
                                <a title="删除" href="javascript:;"  onclick="member_del(this,'1')" class="btn btn-xs btn-delete" >删除</a>
                            </td>

                        </tr>

                        <?php } ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
<script>
    // $(function () { $(".displayPart").displayPart();  });
    // /*删除*/
    // function member_del(obj,id){
    //     layer.confirm('确认要删除吗？',function(index){
    //         $(obj).parents("tr").remove();
    //         layer.msg('已删除!',{icon:1,time:1000});
    //     });
    // }
</script>
